
html, body {  
    height: 100%;      /* 确保根元素高度占满视口 */  
    margin: 0;         /* 消除默认边距干扰 */  
} 

body {
    background: #f0f5ff;
    font-family: 'Segoe UI', sans-serif;
    background: url('/static/img/bg.png') no-repeat center center fixed;  
    background-size: cover;     /* 等比例缩放覆盖全屏 */  
    background-attachment: fixed;  /* 滚动时保持背景固定 */  
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: white center/cover no-repeat;  
    border-radius: 12px;  
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);  
    position: relative;  
    min-height: 100vh;  
    backdrop-filter: blur(5px);  
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
}

.download-list {
    list-style: none;
    padding: 0;
}

.download-list li {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.download-btn {
    margin-left: auto;
    padding: 8px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #2980b9;
}

.file-size {
    color: #7f8c8d;
    margin-left: 15px;
    font-size: 0.9em;
}

@media (max-width: 768px) {  
    .container {  
        background-image: url('/static/img/bg-mobile.jpg');  
        margin: 20px auto;  /* 缩小边距适应小屏幕 */  
    }  
}  

.container {  
    position: relative;  /* 为伪元素创建定位基准 */  
}  

.container {  
    backdrop-filter: blur(5px);  /* 背景模糊 */  
}

.container {  
    min-height: 100vh;  /* 确保容器高度撑满视口 */  
}  
